package com.ht.pms.core.service;

import com.ht.pms.core.dto.Result;
import com.ht.pms.core.dto.SalarySheetQueryReq;
import com.ht.pms.core.dto.UpdateSalaryReq;

import java.util.List;
import java.util.Map;

/**
 * @author:喻尊龙
 * @date: 2018/4/13
 */
public interface SalarySheetManagementService {

    List<Map<String,String>> getSalaryTableColum(String templateCode,String queryType,String batchCode) throws Exception;

    List<Map<String,Object>> getSalaryTableData(String dataSql) throws Exception;

    int getSalaryTableDataCount(String countSql) throws Exception;

    Map<String,String> getSalaryTableDataSql(SalarySheetQueryReq request) throws Exception;

    Result updateSalaryData(UpdateSalaryReq req) throws Exception;

	Result validateUpdataSalary(UpdateSalaryReq req);




    List<Map<String,Object>> getPmsListSendData(String tableName,String batchCode);

    int countPmsListSendData(String tableName,String batchCode);
}
